import * as crypto from "node:crypto";

const salt = "$2b$10$K9l2W7xcLQ7UK1tteKCKju";

export function hashPasswordWithSalt(password: string) {
  const hash = crypto.createHmac("sha256", salt);
  hash.update(password);
  return hash.digest("hex");
}
